AmeliaBooking\Application\Services\Reservation\AppointmentReservationService C

Total Complexity 108
Dependencies 28
Dependents 0
Total lines 881
Lines of code 548
Logical lines of code 218
Comment lines 183
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
26
35 150
getWooCommerceData()
B
34 18 89
book()
B
40 15 61
getReservationByPayment()
A
35 10 94
updateStatus()
A
41 8 59
updateWooCommerceOrder()
A
50 8 29
getReservationPaymentAmount()
S
51 5 29
getBookingPeriods()
S
55 3 19
isExtraAggregatedPrice()
S
75 2 4
getType()
S
82 1 3
getBookableEntity()
S
74 1 4
isAggregatedPrice()
S
81 1 3
getReservationByBookingId()
S
75 1 4